#pragma once
#include "SFC_Object.h"
#include "SFC_Types.h"
#include "SFC_Label.h"
/** \brief Button control
 */


class SFC_Button : public SFC_Object
{
private:
	SFC_Label lab;
public:
	SFC_String Text;
	SetEventHandle<std::string> TextChanged;
	EventHandle<void> OnClick;
	SFC_Button();
	void LoadRes() override;
	void Paint() override;
	void EventRouter(SFC_Event &Event) override;
};
